magnifier: Port to snapshot
authorTimm Bäder <mail@baedert.org>
Wed, 23 Aug 2017 13:00:59 +0000 (15:00 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 23 Aug 2017 14:33:49 +0000 (16:33 +0200)
commit53ad763042465ff3fd93422750c5689f27269c61
treea64ca435c956483c49465fbe302c95806bfcaee6
parent81f3dc04939fc30bfcc1d92e0764549d49921db3
magnifier: Port to snapshot

Instead of gtk_widget_draw'in the inspected widget inside the
magnifier's ::draw handler, just create a new GtkSnapshot and snapshot
in its snapshot handler, similar to what GtkStack is doing.
gtk/gtkmagnifier.c